﻿/**********************************************************************
 * @file   ResultTreeWidget.h
 * @brief  结果树窗口
 * @author liuzhonghua (liuzhonghuaszch@163.com)
 * @date   2025-09-15
 *********************************************************************/
#ifndef __RESULT_TREE_WIDGET_H__
#define __RESULT_TREE_WIDGET_H__

#include "FITK_Component/FITKWidget/FITKTreeWidget.h" 
#include "GUIWidgetAPI.h"
#include "GUIWidget/GUITreeWidgetBase.h"

class QTreeWidgetItem;

namespace GUI
{
    /**
     * @brief   结果树形菜单
     * @author  liuzhonghua (liuzhonghuaszch@163.com)
     * @date    2025-09-15
     */
    class GUIWIDGETAPI ResultTreeWidget : public GUITreeWidgetBase//Comp::FITKTreeWidget, 
    {
        Q_OBJECT
    public:
        /**
         * @brief     构造函数
         * @param[i]  parent 父对象
         * @author    liuzhonghua (liuzhonghuaszch@163.com)
         * @date      2025-09-15
         */
        explicit ResultTreeWidget(QWidget* parent = nullptr);
        /**
         * @brief   析构函数
         * @author  liuzhonghua (liuzhonghuaszch@163.com)
         * @date    2025-09-15
         */
        virtual ~ResultTreeWidget() = default;
        /**
         * @brief   获取操作器
         * @return  Core::FITKTreeWidgetOperator*
         * @author  liuzhonghua (liuzhonghuaszch@163.com)
         * @date    2025-09-15
         */
        virtual Core::FITKTreeWidgetOperator* getOperator() override;
        /**
         * @brief   更新界面
         * @author  liuzhonghua (liuzhonghuaszch@163.com)
         * @date    2025-09-15
         */
        virtual void updateTreeWidget() override;
     };
}
#endif  // __PART_TREE_WIDGET_H__